<?php if (!isset($v_sval)) exit; ?>
<?php

$v_where_clause = " AND ACCOUNT_ID = '".$user_id."' ";

$rs = getAllMap($v_where_clause,0,2,'MAP_TYPE');
$arr_location_info = array();
while ( $arr = mysql_fetch_assoc($rs) ){
	if ( $arr['MAP_TYPE'] == GROOM_LOCATION ){
		$arr_location_info['groom']['title'] = $arr['MAP_TITLE'];
		$arr_location_info['groom']['lat'] = $arr['MAP_LAT'];
		$arr_location_info['groom']['lon'] = $arr['MAP_LONG'];
	}
	if ( $arr['MAP_TYPE'] == BRIDE_LOCATION ){
		$arr_location_info['bride']['title'] = $arr['MAP_TITLE'];
		$arr_location_info['bride']['lat'] = $arr['MAP_LAT'];
		$arr_location_info['bride']['lon'] = $arr['MAP_LONG'];
	}
}